package cn.com.system.pojo;

import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;

public class Accounts implements Serializable {
    private Integer t_id;
    private String t_title;
    private String e_name;
    private String t_no;
    private double t_amount;
    private double t_bamount;
    private String t_person;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date t_sdate;
    private Integer t_state;


    public String getT_title() {
        return t_title;
    }
    public Integer getT_id() {
        return t_id;
    }
    public String getE_name() {
        return e_name;
    }
    public String getT_no() {
        return t_no;
    }
    public double getT_amount() {
        return t_amount;
    }
    public double getT_bamount() {
        return t_bamount;
    }
    public String getT_person() {
        return t_person;
    }
    public Date getT_sdate() {
        return t_sdate;
    }
    public Integer getT_state() {
        return t_state;
    }
    public void setE_name(String e_name) {
        this.e_name = e_name;
    }

    public void setT_id(Integer t_id) {
        this.t_id = t_id;
    }

    public void setT_title(String t_title) {
        this.t_title = t_title;
    }

    public void setT_no(String t_no) {
        this.t_no = t_no;
    }

    public void setT_amount(double t_amount) {
        this.t_amount = t_amount;
    }

    public void setT_bamount(double t_bamount) {
        this.t_bamount = t_bamount;
    }

    public void setT_person(String t_person) {
        this.t_person = t_person;
    }

    public void setT_sdate(Date t_sdate) {
        this.t_sdate = t_sdate;
    }

    public void setT_state(Integer t_state) {
        this.t_state = t_state;
    }

    @Override
    public String toString() {
        return "Accounts{" +
                "t_id=" + t_id +
                ", t_title='" + t_title + '\'' +
                ", e_name='" + e_name + '\'' +
                ", t_no='" + t_no + '\'' +
                ", t_amount='" + t_amount + '\'' +
                ", t_bamount='" + t_bamount + '\'' +
                ", t_person='" + t_person + '\'' +
                ", t_sdate=" + t_sdate +
                ", t_state=" + t_state +
                '}';
    }
}
